<?php

namespace App\Services\Gallery\Providers;

use App\Services\Gallery\Interfaces\BannerServiceInterface;
use App\Services\Gallery\Interfaces\ClassicCaseServiceInterface;
use App\Services\Gallery\Interfaces\SpaceSchemeContentCategoryServiceInterface;
use App\Services\Gallery\Interfaces\SpaceSchemeContentServiceInterface;
use App\Services\Gallery\Interfaces\SpaceSchemeServiceInterface;
use App\Services\Gallery\Interfaces\DesignerServiceInterface;
use App\Services\Gallery\Services\BannerService;
use App\Services\Gallery\Services\ClassicCaseService;
use App\Services\Gallery\Services\SpaceSchemeContentCategoryService;
use App\Services\Gallery\Services\SpaceSchemeContentService;
use App\Services\Gallery\Services\SpaceSchemeService;
use App\Services\Gallery\Services\DesignerService;
use Illuminate\Support\ServiceProvider;

class GalleryServiceRegisterProvider extends ServiceProvider
{
    public function register()
    {
        $this->app->instance(BannerServiceInterface::class, $this->app->make(BannerService::class));
        $this->app->instance(ClassicCaseServiceInterface::class, $this->app->make(ClassicCaseService::class));
        $this->app->instance(SpaceSchemeContentCategoryServiceInterface::class, $this->app->make(SpaceSchemeContentCategoryService::class));
        $this->app->instance(SpaceSchemeContentServiceInterface::class, $this->app->make(SpaceSchemeContentService::class));
        $this->app->instance(SpaceSchemeServiceInterface::class, $this->app->make(SpaceSchemeService::class));
        $this->app->instance(DesignerServiceInterface::class, $this->app->make(DesignerService::class));
    }
}
